
function readyclass(ID){
	$.ajax({
        url: "/blackhouse/seeclass",
        type: "post",
        dataType: "json",
        success: function(e) {
            var html = "";
            for (var i = 0; i < e.length; i++) {
            	html += "<option value='" + e[i].id + "'>" + e[i].className
				+ "</option>"
            }
            $("#"+ID+"").html(html);
        }
    })
}